package com.sky.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * ClassName: webSocketConfiguration
 * Package: com.sky.config
 * Description:
 *
 * @Author: 葛龙
 * @Create 2025/3/7 14:21
 * @Version 1.0
 */

/**
 * webSocket的配置类用于注册websocket的bean
 */
@Configuration
public class webSocketConfiguration {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
